package com.ithzl.capacity.pojo;

import lombok.Data;

import java.util.List;

/**
 * 报名表
 */
@Data
public class EntryForm {
    private int entryFormId;
    private int userId;
    private String worksName ;//作品名字
    private String competitionGroup ;//参赛组别
    private String school ;
    private String team ;//参赛团队
    private List<TeamQualification> teamQualificationList;//教学团队资格
    private byte[] formDate;//参赛报名表
    private String formName ;
    private String formType ;
    private byte[] messageDate ;//信息公示表
    private String messageName ;
    private String messageType ;
    private String phoneNumber ;
    private List<TeamWorks> teamWorksList;//团队课堂实录
    private byte[] teachingPlanDate ;//教案
    private String teachingPlanName ;
    private String teachingPlanType ;
    private byte[] practiceReportDate;//教学实施报告
    private String practiceReportName;
    private String practiceReportType ;
    private byte[] trainingProgramDate;//人才培养方案
    private String trainingProgramName;
    private String trainingProgramType;
    private byte[] standardDate;//课程标准
    private String standardName;
    private String standardType;
    private byte[] explainDate;//教材选用说明
    private String explainName;
    private String explainType;
    private int submit;
    private double score;

    /**
     * 将教学团队资格补充完成
     */
    public void replenish(){
        for (TeamQualification teamQualification:teamQualificationList){
            teamQualification.setEntryFormId(entryFormId);
        }
    }

    public EntryForm() {
    }
}
